ifneq ($(TARGET_BUILD_VARIANT),user)
ccflags-y += -DDEBUG_TUI
endif
obj-$(CONFIG_TZDRIVER) += tc_client_driver.o teek_client_api.o mailbox_mempool.o
obj-$(CONFIG_TZDRIVER) += smc.o agent.o gp_ops.o mem.o
obj-$(CONFIG_TEELOG) += tlogger.o tee_rdr_register.o
obj-$(CONFIG_MMC) += agent_rpmb.o
obj-$(CONFIG_MMC) += hisi_rpmb.o
obj-$(CONFIG_TEE_TUI) += tui.o
obj-$(CONFIG_TEE_RANDOM) += tee_random.o
#obj-$(CONFIG_TEE_ANTIROOT_CLIENT) += ca_antiroot/
obj-$(CONFIG_TEE_LIBHWSECUREC) += libhwsecurec/
obj-y += hisi_ta_auth.o
ccflags-y += -Idrivers/hisilicon/tee/tee_hisi/tzdriver/libhwsecurec
ccflags-$(CONFIG_MMC) += -Idrivers/mmc/card